package org.dtrd.modules.record.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


/**
 * <p>
 * VIEW
 * </p>
 *
 * @author QR
 * @since 2022-04-18
 */
@Data
@TableName("dtrd_view_rl_patient_sugar_value")
public class DtrdViewRlPatientSugarValue {

    @TableField("patient_id")
    private Integer patientId;

    /**
     * 患者姓名
     */
    @TableField("patient_name")
    private String patientName;

    @TableField("patient_sex")
    private String patientSex;

    @TableField("patient_birthday")
    private String patientBirthday;

    /**
     * 医生Id
     */
    @TableField("doctor_id")
    private Integer doctorId;

    @TableField("org_code")
    private Integer orgCode;

    @TableField("record_date")
    private Date recordDate;

    @TableField("record_time")
    private Date recordTime;

    /**
     * 1-早餐前,2-早餐后,3-午餐前,4-午餐后,5-晚餐前,6-晚餐后,7-睡前,8-凌晨
     */
    @TableField("sugar_value_time_type_id")
    private Integer sugarValueTimeTypeId;

    /**
     * 血糖值
     */
    @TableField("sugar_value_sugar_value")
    private Float sugarValueSugarValue;

    /**
     * 血糖值测量 0-未知,1-偏高,2-正常,3-偏低
     */
    @TableField("sugar_value_type")
    private Integer sugarValueType;

    public DtrdViewRlPatientSugarValue init() {
        return this;
    }


}
